﻿using System;
using UnityEditor;
using UnityEngine;

namespace ProjScan.ScanGUI
{
	// Token: 0x02000254 RID: 596
	public class ScanOverviewWindow : EditorWindow
	{
		// Token: 0x06001020 RID: 4128 RVA: 0x00048B70 File Offset: 0x00046D70
		internal static void ShowWindow()
		{
			bool flag = ScanOverviewWindow.I == null;
			if (flag)
			{
				ScanOverviewWindow.I = EditorWindow.GetWindow<ScanOverviewWindow>();
				ScanOverviewWindow.I.titleContent.text = "扫描结果概览";
				ScanOverviewWindow.I.minSize = new Vector2(900f, 500f);
				ScanOverviewWindow.I.Init();
			}
			ScanOverviewWindow.I.Show();
		}

		// Token: 0x06001021 RID: 4129 RVA: 0x00002A20 File Offset: 0x00000C20
		public void Init()
		{
		}

		// Token: 0x06001022 RID: 4130 RVA: 0x00007BC1 File Offset: 0x00005DC1
		private void OnEnable()
		{
			this.renderer = new ScanOverviewDataRenderer();
		}

		// Token: 0x06001023 RID: 4131 RVA: 0x00007BCF File Offset: 0x00005DCF
		private void OnGUI()
		{
			this.renderer.DrawGUI(base.position, true, true);
		}

		// Token: 0x0400097A RID: 2426
		private ScanOverviewDataRenderer renderer;

		// Token: 0x0400097B RID: 2427
		public static ScanOverviewWindow I;
	}
}
